<div class="class  myStyle1">

	<section class="allClass">
		<h4>已定义的类型：</h4>
		<span class="label label-default" ng-repeat="class in top_Class" title="描述：{{class.description}}">{{class.name}}</span>
	</section>

	<section class="addClass" ng-controller="addClass">
		<h4>添加一种类型：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label for="className">类型</label>
				<input type="text" class="form-control" id="className" placeholder="上衣" ng-model=className>
			</div>
			<div class="form-group">
				<label for="classDescription">描述</label>
				<input type="text" class="form-control" id="classDescription" ng-model="classDescription">
			</div>
			<button class="btn btn-default" ng-click="addClass(); refresh_Class();">添 加</button>
		</form>
	</section>

	<section class="deleteClass" ng-controller="deleteClass">
		<h4>删除一种类型：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>类型</label>
				<select class="form-control" ng-model="classId" ng-options="class.classId as class.name for class in top_Class">
					<option value="">--请选择--</option>
				</select>
			</div>
			<button class="btn btn-default" ng-click="deleteClass(); refresh_Class();">删 除</button>
		</form>
	</section>

	<section class="modifyClass" ng-controller="modifyClass">
		<h4>修改一种类型：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>类型</label>
				<select class="form-control" ng-model="classId" ng-options="class.classId as class.name for class in top_Class">
					<option value="">--请选择--</option>
				</select>
			</div>
			<div class="form-group">
				<label for="className2">类型</label>
				<input type="text" class="form-control" id="className2" placeholder="上衣" ng-model=className>
			</div>
			<div class="form-group">
				<label for="classDescription2">描述</label>
				<input type="text" class="form-control" id="classDescription2" ng-model="classDescription">
			</div>
			<button class="btn btn-default" ng-click="modifyClass(); refresh_Class();">修 改</button>
		</form>
	</section>	

</div>
